/*
 * @author zhangpeihao
 * @brief
 */

#include "utcase.h"

const char* utcase::testXML = "<?xml version=\"1.0\" standalone=\"no\" ?>"
			"<!-- Our to do list data -->"
			"<ToDo>"
			"<!-- Do I need a secure PDA? -->"
      "<String>test</String>"
      "<String>1</String>"
      "<String>中文</String>"
      "<String>"
      "12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"
      "12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"
      "12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"
      "12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"
      "12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"
      "123456789012345678901234"
      "</String>"
      "<StringERR></StringERR>"
			"<U32>0</U32>"
			"<U32>1</U32>"
			"<U32>4294967295</U32>"
			"<U32ERR>4294967296</U32ERR>"
			"<U32ERR>-1</U32ERR>"
			"<U32ERR></U32ERR>"
			"<U32ERR>TEXT</U32ERR>"
      "<I32>0</I32>"
      "<I32>1</I32>"
      "<I32>-1</I32>"
      "<I32>2147483647</I32>"
      "<I32>-2147483648</I32>"
      "<I32ERR>2147483648</I32ERR>"
      "<I32ERR>-2147483649</I32ERR>"
      "<I32ERR></I32ERR>"
      "<I32ERR>TEXT</I32ERR>"
      "<I8Attr attr=\"1\" />"
      "<Path1><Path2><Path3>100</Path3></Path2></Path1>"
      "<longParent><child><longChild>100</longChild></child></longParent>"
			"<Item priority=\"2\" distance=\"close\">Go to the"
			"<bold>Toy store!"
			"</bold>"
			"</Item>"
			"<Item priority=\"1\" distance=\"far\">Talk to:"
			"<Meeting where=\"School\">"
			"<Attendee name=\"Marple\" position=\"teacher\" />"
			"<Attendee name=\"Voel\" position=\"counselor\" />"
			"</Meeting>"
			"<Meeting where=\"Lunch\" />"
			"</Item>"
			"<Item priority=\"2\" distance=\"here\">Do bills"
			"</Item>"
			"</ToDo>";

test_xmlbase::test_xmlbase()
{
  _doc->Parse( utcase::testXML );
}

utcase::utcase()
{
    // TODO Auto-generated constructor stub
}

utcase::~utcase() 
{
    // TODO Auto-generated destructor stub
}

void 
utcase::setupCase()
{
	// Todo: setup case
}

void 
utcase::teardownCase()
{
	// Todo: setup case
}

void
utcase::setup()
{
	// Todo: setup test
}

void
utcase::teardown()
{
	// Todo: tear down test
}
